﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace Efficient
{
    /// <summary>
    /// 用DataReader 填充实体类的方法委托
    /// </summary>
    /// <typeparam name="T">实体类参数类型</typeparam>
    /// <param name="entity">已经实例化的实体类</param>
    /// <param name="dr">实现IDataReader接口的对象</param>
    public delegate void Reader2Entity<T>(T entity, IDataReader dr);
}
